package com.zb.springboot_zb_sql.exception;

public class IndexException extends  RuntimeException {
    private  String code;
    private  String mes;

    public IndexException( String code, String mes) {
        super(mes);
        this.code = code;
        this.mes = mes;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMes() {
        return mes;
    }

    public void setMes(String mes) {
        this.mes = mes;
    }
}
